home *** CD-ROM | disk | FTP | other *** search
- #define STRANGE_OBJECT 0
- #define AMULET_OF_YENDOR 1
- #define FOOD_RATION 2
- #define TRIPE_RATION 3
- #define PANCAKE 4
- #define DEAD_LIZARD 5
- #define FORTUNE_COOKIE 6
- #define CARROT 7
- #define SLICE_OF_PIZZA 8
- #define CREAM_PIE 9
- #define TIN 10
- #define K_RATION 11
- #define C_RATION 12
- #define ORANGE 13
- #define APPLE 14
- #define PEAR 15
- #define MELON 16
- #define BANANA 17
- #define CANDY_BAR 18
- #define EGG 19
- #define CLOVE_OF_GARLIC 20
- #define LUMP_OF_ROYAL_JELLY 21
- #define DEAD_HUMAN 22
- #define DEAD_GIANT_ANT 23
- #define DEAD_GIANT_BAT 24
- #define DEAD_CENTAUR 25
- #define DEAD_DRAGON 26
- #define DEAD_FLOATING_EYE 27
- #define DEAD_FREEZING_SPHERE 28
- #define DEAD_GNOME 29
- #define DEAD_HOBGOBLIN 30
- #define DEAD_STALKER 31
- #define DEAD_JACKAL 32
- #define DEAD_KOBOLD 33
- #define DEAD_LEPRECHAUN 34
- #define DEAD_MIMIC 35
- #define DEAD_NYMPH 36
- #define DEAD_ORC 37
- #define DEAD_PURPLE_WORM 38
- #define DEAD_QUANTUM_MECHANIC 39
- #define DEAD_RUST_MONSTER 40
- #define DEAD_SNAKE 41
- #define DEAD_TROLL 42
- #define DEAD_UMBER_HULK 43
- #define DEAD_VAMPIRE 44
- #define DEAD_WRAITH 45
- #define DEAD_XORN 46
- #define DEAD_YETI 47
- #define DEAD_ZOMBIE 48
- #define DEAD_ACID_BLOB 49
- #define DEAD_GIANT_BEETLE 50
- #define DEAD_COCKATRICE 51
- #define DEAD_DOG 52
- #define DEAD_ETTIN 53
- #define DEAD_FOG_CLOUD 54
- #define DEAD_GELATINOUS_CUBE 55
- #define DEAD_HOMUNCULUS 56
- #define DEAD_IMP 57
- #define DEAD_JAGUAR 58
- #define DEAD_KILLER_BEE 59
- #define DEAD_LEOCROTTA 60
- #define DEAD_MINOTAUR 61
- #define DEAD_NURSE 62
- #define DEAD_OWLBEAR 63
- #define DEAD_PIERCER 64
- #define DEAD_QUIVERING_BLOB 65
- #define DEAD_GIANT_RAT 66
- #define DEAD_GIANT_SCORPION 67
- #define DEAD_TENGU 68
- #define DEAD_UNICORN 69
- #define DEAD_VIOLET_FUNGUS 70
- #define DEAD_LONG_WORM 71
- #define DEAD_XAN 72
- #define DEAD_YELLOW_LIGHT 73
- #define DEAD_ZRUTY 74
- #define DEAD_SOLDIER 75
- #define DEAD_GIANT 76
- #define DEAD_DEMON 77
- #define ARROW 78
- #define SLING_BULLET 79
- #define CROSSBOW_BOLT 80
- #define DART 81
- #define SHURIKEN 82
- #define ROCK 83
- #define BOOMERANG 84
- #define MACE 85
- #define AXE 86
- #define FLAIL 87
- #define LONG_SWORD 88
- #define TWO_HANDED_SWORD 89
- #define DAGGER 90
- #define WORM_TOOTH 91
- #define CRYSKNIFE 92
- #define AKLYS 93
- #define BARDICHE 94
- #define BEC_DE_CORBIN 95
- #define BILL_GUISARME 96
- #define CLUB 97
- #define FAUCHARD 98
- #define GLAIVE 99
- #define GUISARME 100
- #define HALBERD 101
- #define LUCERN_HAMMER 102
- #define JAVELIN 103
- #define KATANA 104
- #define LANCE 105
- #define MORNING_STAR 106
- #define PARTISAN 107
- #define RANSEUR 108
- #define SCIMITAR 109
- #define SPETUM 110
- #define BROAD_SWORD 111
- #define SHORT_SWORD 112
- #define TRIDENT 113
- #define VOULGE 114
- #define SPEAR 115
- #define BOW 116
- #define SLING 117
- #define CROSSBOW 118
- #define WHISTLE 119
- #define LEASH 120
- #define MAGIC_WHISTLE 121
- #define BLINDFOLD 122
- #define MIRROR 123
- #define EXPENSIVE_CAMERA 124
- #define ICE_BOX 125
- #define PICK_AXE 126
- #define MAGIC_MARKER 127
- #define STETHOSCOPE 128
- #define CAN_OPENER 129
- #define LAMP 130
- #define MAGIC_LAMP 131
- #define BADGE 132
- #define HEAVY_IRON_BALL 133
- #define IRON_CHAIN 134
- #define ENORMOUS_ROCK 135
- #define HELMET 136
- #define PLATE_MAIL 137
- #define SPLINT_MAIL 138
- #define BANDED_MAIL 139
- #define CHAIN_MAIL 140
- #define SCALE_MAIL 141
- #define RING_MAIL 142
- #define STUDDED_LEATHER_ARMOR 143
- #define ELFIN_CHAIN_MAIL 144
- #define BRONZE_PLATE_MAIL 145
- #define CRYSTAL_PLATE_MAIL 146
- #define LEATHER_ARMOR 147
- #define ELVEN_CLOAK 148
- #define SHIELD 149
- #define HAWAIIAN_SHIRT 150
- #define PAIR_OF_GLOVES 151
- #define POT_RESTORE_STRENGTH 152
- #define POT_GAIN_ENERGY 153
- #define POT_BOOZE 154
- #define POT_INVISIBILITY 155
- #define POT_FRUIT_JUICE 156
- #define POT_HEALING 157
- #define POT_PARALYSIS 158
- #define POT_MONSTER_DETECTION 159
- #define POT_OBJECT_DETECTION 160
- #define POT_SICKNESS 161
- #define POT_CONFUSION 162
- #define POT_GAIN_STRENGTH 163
- #define POT_SPEED 164
- #define POT_BLINDNESS 165
- #define POT_GAIN_LEVEL 166
- #define POT_EXTRA_HEALING 167
- #define POT_LEVITATION 168
- #define POT_HALLUCINATION 169
- #define POT_HOLY_WATER 170
- #define SCR_MAIL 173
- #define SCR_ENCHANT_ARMOR 174
- #define SCR_DESTROY_ARMOR 175
- #define SCR_CONFUSE_MONSTER 176
- #define SCR_SCARE_MONSTER 177
- #define SCR_BLANK_PAPER 178
- #define SCR_REMOVE_CURSE 179
- #define SCR_ENCHANT_WEAPON 180
- #define SCR_DAMAGE_WEAPON 181
- #define SCR_CREATE_MONSTER 182
- #define SCR_TAMING 183
- #define SCR_GENOCIDE 184
- #define SCR_LIGHT 185
- #define SCR_TELEPORTATION 186
- #define SCR_GOLD_DETECTION 187
- #define SCR_FOOD_DETECTION 188
- #define SCR_IDENTIFY 189
- #define SCR_MAGIC_MAPPING 190
- #define SCR_AMNESIA 191
- #define SCR_FIRE 192
- #define SCR_PUNISHMENT 193
- #define WAN_LIGHT 198
- #define WAN_SECRET_DOOR_DETECTION 199
- #define WAN_CREATE_MONSTER 200
- #define WAN_WISHING 201
- #define WAN_STRIKING 202
- #define WAN_NOTHING 203
- #define WAN_SLOW_MONSTER 204
- #define WAN_SPEED_MONSTER 205
- #define WAN_UNDEAD_TURNING 206
- #define WAN_POLYMORPH 207
- #define WAN_CANCELLATION 208
- #define WAN_TELEPORTATION 209
- #define WAN_MAKE_INVISIBLE 210
- #define WAN_PROBING 211
- #define WAN_DIGGING 212
- #define WAN_MAGIC_MISSILE 213
- #define WAN_FIRE 214
- #define WAN_SLEEP 215
- #define WAN_COLD 216
- #define WAN_DEATH 217
- #define WAN_LIGHTNING 218
- #define SPE_MAGIC_MISSILE 220
- #define SPE_FIREBALL 221
- #define SPE_SLEEP 222
- #define SPE_CONE_OF_COLD 223
- #define SPE_FINGER_OF_DEATH 224
- #define SPE_HEALING 225
- #define SPE_DETECT_MONSTERS 226
- #define SPE_FORCE_BOLT 227
- #define SPE_LIGHT 228
- #define SPE_CONFUSE_MONSTER 229
- #define SPE_CURE_BLINDNESS 230
- #define SPE_SLOW_MONSTER 231
- #define SPE_CREATE_MONSTER 232
- #define SPE_DETECT_FOOD 233
- #define SPE_HASTE_SELF 234
- #define SPE_CAUSE_FEAR 235
- #define SPE_CURE_SICKNESS 236
- #define SPE_DETECT_UNSEEN 237
- #define SPE_EXTRA_HEALING 238
- #define SPE_CHARM_MONSTER 239
- #define SPE_LEVITATION 240
- #define SPE_RESTORE_STRENGTH 241
- #define SPE_INVISIBILITY 242
- #define SPE_DETECT_TREASURE 243
- #define SPE_DIG 244
- #define SPE_REMOVE_CURSE 245
- #define SPE_MAGIC_MAPPING 246
- #define SPE_IDENTIFY 247
- #define SPE_TURN_UNDEAD 248
- #define SPE_POLYMORPH 249
- #define SPE_CREATE_FAMILIAR 250
- #define SPE_TELEPORT_AWAY 251
- #define SPE_CANCELLATION 252
- #define SPE_GENOCIDE 253
- #define Adornment u.uprops[0].p_flgs
- #define RIN_ADORNMENT 258
- #define HTeleportation u.uprops[1].p_flgs
- #define Teleportation ((HTeleportation) || index("LNt", u.usym))
- #define RIN_TELEPORTATION 259
- #define HRegeneration u.uprops[2].p_flgs
- #define Regeneration ((HRegeneration) || index("TVi", u.usym))
- #define RIN_REGENERATION 260
- #define Searching u.uprops[3].p_flgs
- #define RIN_SEARCHING 261
- #define HSee_invisible u.uprops[4].p_flgs
- #define See_invisible ((HSee_invisible) || index("I", u.usym))
- #define RIN_SEE_INVISIBLE 262
- #define Stealth u.uprops[5].p_flgs
- #define RIN_STEALTH 263
- #define Levitation u.uprops[6].p_flgs
- #define RIN_LEVITATION 264
- #define HPoison_resistance u.uprops[7].p_flgs
- #define Poison_resistance ((HPoison_resistance) || index("abcghikqsuvxyADFQSVWXZ&", u.usym))
- #define RIN_POISON_RESISTANCE 265
- #define Aggravate_monster u.uprops[8].p_flgs
- #define RIN_AGGRAVATE_MONSTER 266
- #define Hunger u.uprops[9].p_flgs
- #define RIN_HUNGER 267
- #define HFire_resistance u.uprops[10].p_flgs
- #define Fire_resistance ((HFire_resistance) || index("gD&", u.usym))
- #define RIN_FIRE_RESISTANCE 268
- #define HCold_resistance u.uprops[11].p_flgs
- #define Cold_resistance ((HCold_resistance) || index("gFY", u.usym))
- #define RIN_COLD_RESISTANCE 269
- #define Protection_from_shape_changers u.uprops[12].p_flgs
- #define RIN_PROTECTION_FROM_SHAPE_CHAN 270
- #define Conflict u.uprops[13].p_flgs
- #define RIN_CONFLICT 271
- #define Gain_strength u.uprops[14].p_flgs
- #define RIN_GAIN_STRENGTH 272
- #define Increase_damage u.uprops[15].p_flgs
- #define RIN_INCREASE_DAMAGE 273
- #define Protection u.uprops[16].p_flgs
- #define RIN_PROTECTION 274
- #define Warning u.uprops[17].p_flgs
- #define RIN_WARNING 275
- #define HTeleport_control u.uprops[18].p_flgs
- #define Teleport_control ((HTeleport_control) || index("t", u.usym))
- #define RIN_TELEPORT_CONTROL 276
- #define Polymorph u.uprops[19].p_flgs
- #define RIN_POLYMORPH 277
- #define Polymorph_control u.uprops[20].p_flgs
- #define RIN_POLYMORPH_CONTROL 278
- #define HShock_resistance u.uprops[21].p_flgs
- #define Shock_resistance ((HShock_resistance) || index("g;", u.usym))
- #define RIN_SHOCK_RESISTANCE 279
- #define DILITHIUM_CRYSTAL 281
- #define DIAMOND 282
- #define RUBY 283
- #define SAPPHIRE 284
- #define EMERALD 285
- #define TURQUOISE 286
- #define AQUAMARINE 287
- #define AMBER 288
- #define TOPAZ 289
- #define OPAL 290
- #define GARNET 291
- #define AMETHYST 292
- #define JASPER 293
- #define FLUORITE 294
- #define JADE 295
- /* #define WORTHLESS_PIECE_OF_WHITE_GLASS 296 */
- /* #define WORTHLESS_PIECE_OF_BLUE_GLASS 297 */
- /* #define WORTHLESS_PIECE_OF_RED_GLASS 298 */
- /* #define WORTHLESS_PIECE_OF_YELLOWISH_BROWN_GLAS 299 */
- /* #define WORTHLESS_PIECE_OF_GREEN_GLASS 300 */
-
- #define CORPSE DEAD_HUMAN
- #define DEAD_KOP DEAD_KOBOLD
- #define DEAD_GIANT_SPIDER DEAD_GIANT_SCORPION
- #define DEAD_ROCKMOLE DEAD_GIANT_RAT
- #define LAST_GEM (JADE+1)
- #define LAST_RING 22
- #define MAXSPELL 35
- #define NROFOBJECTS 300
-